<!-- 本文件是MobileIMSDK-Web版Demo的基于Express MVC框架的主页（使用ejs模板） -->
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="format-detection" content="telephone=no"/>
  <meta name="format-detection" content="email=no"/>
  <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport">
  <title>MobileIMSDK-Web版技术特征演示</title>
  <link rel="stylesheet" type="text/css" href="/stylesheets/style2.css" />
</head>
<body>
<div id="loginbox">
  <div style="width:460px;margin:200px auto;">
     欢迎使用MobileIMSDK-Web版！
    <br/>
    <br/>
    <input type="text" style="width:180px;" placeholder="请输入用户名" id="username" name="username" />
    <input type="button" value="提交" id="loginButton"/>

    <div style="/* background: #000 */">
      <div class="login_hint">
      </div>
    </div>
  </div>
</div>
<div id="chatbox" style="display:none;">
  <div style="background:#3d3d3d;height: 48px; width: 100%;font-size:12px;">
    <div style="line-height: 48px;color:#fff;">
      <span style="text-align:left;margin-left:10px;font-size: 18px;"><%= title %></span>
      <span style="margin-left: 3px;">v3.3.0</span>
      <span style="float:right; margin-right:10px;">登陆名：<span id="showusername"></span>
        <!-- |<a id="logoutButton" href="javascript:;" style="color:#fff;d">退出</a>-->
      </span>
    </div>
  </div>
  <div id="doc">
    <div id="chat">
      <div id="message" class="message">
        <div id="onlinecount" style="background:#EFEFF4; font-size:12px; margin-top:10px; margin-left:10px; color:#666;">
        </div>
      </div>
      <div class="input-box" style="height:auto;">
        <div class="input">
          <input type="text" maxlength="20" placeholder="消息接收者登陆名" id="receiver" style="width:15%;margin-right:6px;">
          <input type="text" maxlength="140" placeholder="请输入聊天内容，按 Enter 键提交" id="content" name="content">
        </div>
        <div class="action">
          <button type="button" id="sendMessageButton">发送</button>
        </div>

        <!--
        <div style="font-size: 12px;float:left;position: absolute;width:100%;top:45px;left:10px">
          <p>如果这个Demo对你有帮助，<a href="https://github.com/plhwin" target="_blank">请到Github关注我</a></p>
          <p>教程：<a href="http://www.plhwin.com/2014/05/28/nodejs-socketio/" target="_blank">http://www.plhwin.com/2014/05/28/nodejs-socketio/</a></p>
          <p>源码：<a href="https://github.com/plhwin/nodejs-socketio-chat" target="_blank">https://github.com/plhwin/nodejs-socketio-chat</a></p>
        </div>-->
      </div>
    </div>
  </div>
</div>

<!--[if lt IE 8]>
<script src="/javascripts/libs/thirdpart/json3.min.js"></script>
<![endif]-->
<script src="/javascripts/libs/thirdpart/jquery-1.8.3.min.js"></script>
<script src="/javascripts/libs/thirdpart/uuid.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="/javascripts/libs/mobileimsdk-client-common.js"></script>
<script src="/javascripts/libs/mobileimsdk-client-sdk.js"></script>
<script type="text/javascript" src="/javascripts/main2.js"></script>
</body>
</html>
